/*
* @Author: Adolphus.Yao
* @Date:   2019-08-23 11:07:38
* @Last Modified by:   Adolphus.Yao
* @Last Modified time: 2019-08-27 21:06:10
*/
package main

import (
    "time"
    "fmt"
)

func main() {
    tm := time.Unix(1566907000, 0)
    fmt.Println(tm.Format("20060102150405"))
    tm2, _ := time.ParseInLocation("20060102150405", "20190827195640", time.Local)
    fmt.Println(tm2.Unix())
}